/**
 * 
 */
package com.mvity.framework.common.base;

import java.io.Serializable;

/**
 * @author vity
 * @date 2012-7-23
 * @mail vity.1215@gmail.com
 */
public abstract class BaseCache implements Serializable {

	private static final long serialVersionUID = -2898084248644883501L;

	public abstract String getCacheFlag();

	public abstract void writeCache(String key, Serializable value);

	public abstract void deleteCache(String key);

	public abstract <T extends Serializable> T get(String key);

	public abstract void initCache();
}
